package draft;

public class EvaluateTeamCommand implements Runnable {

	double[] rating;
	int teamNum;
	
	public EvaluateTeamCommand(double [] rating, int teamNum){
		this.rating = rating;
		this.teamNum = teamNum;
		
	}
	
	@Override
	public void run() {
		rating[teamNum] = Minimax.searchLeague.teams[teamNum].evaluate();
		rating[teamNum+1] = Minimax.searchLeague.teams[teamNum+1].evaluate();
	}

}


